Skip to content

[ThaiNgocThanhDat] database-assignment-1#13

Open
unitoflazy wants to merge 1 commit into
EngineerProOrg:database-assignment-1from
unitoflazy:database-assignment-1
Open

[ThaiNgocThanhDat] database-assignment-1#13
unitoflazy wants to merge 1 commit into
EngineerProOrg:database-assignment-1from
unitoflazy:database-assignment-1

Conversation

@unitoflazy

Copy link
Copy Markdown

No description provided.

Comment thread database/query.sql
enroll
) e2 on e1.stud_id = e2.stud_id
where
e1.stud_id = 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because we know stud_id, why dont add it into the sub query ? so the number of rows need to be join can be reduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants